package com.cg.service.impl;

import com.cg.dao.DmAreaMapper;
import com.cg.dto.Dto;
import com.cg.dto.DtoUtil;
import com.cg.service.DmAreaService;
import com.cg.vo.CityVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 区域表(DmArea)表服务实现类
 *
 * @author makejava
 * @since 2023-11-09 16:20:18
 */
@Service("dmAreaService")
public class DmAreaServiceImpl implements DmAreaService {
    @Resource
    private DmAreaMapper dmAreaMapper;


    //查询市区API接口
    @Override
    public Dto<List<CityVo>> queryCityList() {
        return DtoUtil.returnDataSuccess(dmAreaMapper.queryCityList());
    }
}
